include '../common.thrift'

namespace java com.xiaoluyy.demo.thrift.meta

typedef common.Status    Status

struct AddressInfo {
	1: optional string addressCode,    //地址编码
 	2: optional string addressName,    //地址名称
 	3: optional byte addressType      //地址类型
}

/**
*商户查询返回
*/
struct AddressReturnMsg {
    1: required Status status,
    2: required  i32 addressId,
    3: required  string  logId
}

struct AddressEntity {

    1: required string addressCode,    //地址编码
 	2: required string addressName,    //地址名称
 	3: required byte addressType,      //地址类型
 	4: required i32 addressId,           //地址id
    5: required i64 createDate,          //创建时间
    6: optional i64 updateDate           //修改时间
}

struct QueryAddressReturnMsg {
    1: required Status status,
    2: optional  AddressEntity addressEntity,
    3: required  string  logId
}